aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/[username]/(profile)
diff options
context:
space:
mode:
authorAdrien Hopkins <[email protected]>2025-08-25 19:24:16 -0500
committerAdrien Hopkins <[email protected]>2025-08-25 19:24:16 -0500
commitfdc035a8c5a64c47169c495d7f81bd0ab7643fb9 (patch)
treef1cfd004528af0108cfaf19a19718d2474176403 /src/routes/(app)/[username]/(profile)
parenteb66f787b48a2a52ece890e356fd022380f64c2e (diff)
downloadcoinos-ui-fdc035a8c5a64c47169c495d7f81bd0ab7643fb9.tar.gz
coinos-ui-fdc035a8c5a64c47169c495d7f81bd0ab7643fb9.zip
Add direct messages page
The CSS isn't great right now, but you can go back and forth! I'll make it look nice another day.
Diffstat (limited to 'src/routes/(app)/[username]/(profile)')
-rw-r--r--src/routes/(app)/[username]/(profile)/+layout.svelte5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/routes/(app)/[username]/(profile)/+layout.svelte b/src/routes/(app)/[username]/(profile)/+layout.svelte
index b384344e..2e6657bd 100644
--- a/src/routes/(app)/[username]/(profile)/+layout.svelte
+++ b/src/routes/(app)/[username]/(profile)/+layout.svelte
@@ -140,6 +140,11 @@
<iconify-icon noobserver icon="ph:pencil-bold" width="32"
></iconify-icon>
</a>
+ {:else}
+ <a href="/dm/{subject.username}" class="btn contents">
+ <iconify-icon noobserver icon="ph:chat-bold" width="32"
+ ></iconify-icon>
+ </a>
{/if}
<!-- <a href={`/${subject.pubkey}/notes`}> -->
<!-- <iconify-icon noobserver icon="ph:note-bold" width="32"></iconify-icon> -->